export interface User {
  id: number
  username: string
  email: string
  full_name: string
  role: 'student' | 'teacher' | 'admin'
  grade?: number
  created_at: string
  updated_at: string
}

export interface LoginCredentials {
  username: string
  password: string
}

export interface RegisterData {
  username: string
  email: string
  password: string
  full_name: string
  role: 'student' | 'teacher'
  grade?: number
}

export interface LoginResponse {
  access_token: string
  token_type: string
  user: User
}